﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cms.BLL.Job;
using Cms.Entity.Job;

namespace Jzy.UI.Web.Areas.Site.Controllers
{
    public class JobController : Controller
    {
        //
        // GET: /Site/Job/

        public ActionResult List()
        {
            JobBO job = new JobBO();

            List<JobInfo> list = job.GetList();

            foreach (JobInfo info in list)
            {
                info.Description = info.Description.Replace("\r\n", "<br>").Replace(" ", "&nbsp;");
            }
            ViewData["index"] = 8;
            return View(list);
        }
    }
}
